home *** CD-ROM | disk | FTP | other *** search
/ USGS: Geolgic Assessment … in the Colorado Plataeu / USGS Geolgic Assessment of Coal in the Colorado Plataeu - Disc 1.iso / ArcView_Data_Pub / program / ETC / SYSTEM.PS < prev    next >
Text File  |  1998-07-17  |  16KB  |  349 lines

  1. %**********************************************************************/
  2. %*                                                                    */
  3. %*  Copyright (C) 1993-1995                                           */
  4. %*  by Liberty Systems, Redlands, CA.  All rights reserved.           */
  5. %*                                                                    */
  6. %*  This program is the exclusive property of Liberty Systems and is  */
  7. %*  issued in strict confidence under a prearranged license agreement */
  8. %*  and is not to be disclosed in any manner to persons outside the   */
  9. %*  licensed organization and shall not be reproduced or disseminated */
  10. %*  in whole or part to anyone outside the licensed organization      */
  11. %*  without the prior written approval of Liberty Systems unless      */
  12. %*  otherwise provided for by such license agreement.                 */
  13. %*                                                                    */
  14. %*  This program may be used and copied only in accordance with the   */
  15. %*  terms of said license agreement and with the inclusion of the     */
  16. %*  above copyright notice.  No title to and ownership of the         */
  17. %*  software is hereby transfered.  The information in this software  */
  18. %*  is subject to change without notice and should not be construed   */
  19. %*  as a commitment by Liberty Systems.                               */
  20. %*                                                                    */
  21. %**********************************************************************/
  22.  
  23. false limitaccess
  24. /@bd { bind def } bind def
  25.  
  26. %
  27. %  Initialize the error handling
  28. %
  29.  
  30. /$error <<
  31.    /newerror false
  32.    /recordstacks true
  33.    /binary false
  34. >> def
  35.  
  36. /@err_name 20 string def
  37. /@ostack 10 array def
  38. /@estack 250 array def
  39. /@dstack 20 array def
  40. /@err_file (%stderr) (w) file def
  41.  
  42. /@std_ehandler {
  43.    currentfile resetfile
  44.    false setglobal
  45.    $error begin
  46.    /newerror true def
  47.    /errorname exch def
  48.    /command exch def
  49.    @ostack length count lt {@ostack length}{count}ifelse
  50.      @ostack exch 0 exch getinterval astore /ostack exch def
  51.      ostack aload pop
  52.    @estack execstack /estack exch def
  53.    @dstack dictstack /dstack exch def
  54.    end stop } @bd
  55.  
  56. /errordict <<
  57.    /handleerror {
  58.       signalerror
  59.       @err_file (Error Type:     ) writestring
  60.       @err_file $error /errorname get @err_name cvs writestring
  61.       @err_file (\nCurrent Object: ) writestring
  62.       $error /command get =
  63. %     @err_file (Operand Stack: ) writestring
  64. %     $error /ostack get ==
  65. %     @err_file (Execution Stack: ) writestring
  66. %     $error /estack get ==
  67. %     @err_file (Dictionary Stack: ) writestring
  68. %     $error /dstack get ==
  69.       $error /newerror false put }
  70.    /configurationerror { /configurationerror @std_ehandler }
  71.    /dictfull { /dictfull @std_ehandler }
  72.    /dictstackoverflow { /dictstackoverflow @std_ehandler }
  73.    /dictstackunderflow { /dictstackunderflow @std_ehandler }
  74.    /execstackoverflow { /execstackoverflow @std_ehandler }
  75.    /interrupt { /interrupt @std_ehandler }
  76.    /invalidaccess { /invalidaccess @std_ehandler }
  77.    /invalidcontext { /invalidcontext @std_ehandler }
  78.    /invalidexit { /invalidcontext @std_ehandler }
  79.    /invalidfileaccess { /invalidfileaccess @std_ehandler }
  80.    /invalidfont { /invalidfont @std_ehandler }
  81.    /invalidid { /invalidid @std_ehandler }
  82.    /invalidrestore { /invalidrestore @std_ehandler }
  83.    /ioerror { /ioerror @std_ehandler }
  84.    /limitcheck { /limitcheck @std_ehandler }
  85.    /nocurrentpoint { /nocurrentpoint @std_ehandler }
  86.    /rangecheck { /rangecheck @std_ehandler }
  87.    /stackoverflow { /stackoverflow @std_ehandler }
  88.    /stackunderflow { /stackunderflow @std_ehandler }
  89.    /syntaxerror { /syntaxerror @std_ehandler }
  90.    /timeout { /timeout @std_ehandler }
  91.    /typecheck { /typecheck @std_ehandler }
  92.    /undefined { /undefined @std_ehandler }
  93.    /undefinedfilename { /undefinedfilename @std_ehandler }
  94.    /undefinedresource { /undefinedresource @std_ehandler }
  95.    /undefinedresult { /undefinedresult @std_ehandler }
  96.    /unmatchedmark { /unmatchedmark @std_ehandler }
  97.    /unregistered { /unregistered @std_ehandler }
  98.    /VMerror { /VMerror @std_ehandler }
  99.    /sysmem { /sysmem @std_ehandler } >> def
  100.  
  101. %
  102. %  Initialize encodings
  103. %
  104.  
  105. /StandardEncoding [/.notdef 31{dup}repeat/space/exclam 
  106.    /quotedbl/numbersign/dollar/percent/ampersand/quoteright/parenleft 
  107.    /parenright/asterisk/plus/comma/hyphen/period/slash/zero/one/two/three
  108.    /four/five/six/seven/eight/nine/colon/semicolon/less/equal/greater
  109.    /question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z
  110.    /bracketleft/backslash/bracketright/asciicircum/underscore/quoteleft/a/b 
  111.    /c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/braceleft/bar/braceright 
  112.    /asciitilde/.notdef 33{dup}repeat/exclamdown/cent/sterling/fraction/yen
  113.    /florin/section/currency/quotesingle/quotedblleft/guillemotleft
  114.    /guilsinglleft/guilsinglright/fi/fl/.notdef/endash/dagger/daggerdbl
  115.    /periodcentered/.notdef/paragraph/bullet/quotesinglbase/quotedblbase
  116.    /quotedblright/guillemotright/ellipsis/perthousand/.notdef/questiondown
  117.    /.notdef/grave/acute/circumflex/tilde/macron/breve/dotaccent/dieresis
  118.    /.notdef/ring/cedilla/.notdef/hungarumlaut/ogonek/caron/emdash/.notdef
  119.    15{dup}repeat/AE/.notdef/ordfeminine/.notdef/.notdef/.notdef/.notdef
  120.    /Lslash/Oslash/OE/ordmasculine/.notdef 4{dup}repeat/ae/.notdef/.notdef
  121.    /.notdef/dotlessi/.notdef/.notdef/lslash/oslash/oe/germandbls/.notdef
  122.    /.notdef/.notdef/.notdef] def
  123. /ISOLatin1Encoding [ StandardEncoding 0 128 getinterval aload pop
  124.    /.notdef 15{dup}repeat/dotlessi/grave/acute/circumflex/tilde/macron
  125.    /breve/dotaccent/dieresis/.notdef/ring/cedilla/.notdef/hungarumlaut
  126.    /ogonek/caron/space/exclamdown/cent/sterling/currency/yen/brokenbar
  127.    /section/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/hyphen
  128.    /registered/macron/degree/plusminus/twosuperior/threesuperior/acute/mu
  129.    /paragraph/periodcentered/cedilla/onesuperior/ordmasculine/guillemotright
  130.    /onequarter/onehalf/threequarters/questiondown/Agrave/Aacute/Acircumflex
  131.    /Atilde/Adieresis/Aring/AE/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis
  132.    /Igrave/Iacute/Icircumflex/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex
  133.    /Otilde/Odieresis/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis
  134.    /Yacute/Thorn/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring
  135.    /ae/ccedilla/egrave/eacute/ecircumflex/edieresis/igrave/iacute
  136.    /icircumflex/idieresis/eth/ntilde/ograve/oacute/ocircumflex/otilde
  137.    /odieresis/divide/oslash/ugrave/uacute/ucircumflex/udieresis/yacute
  138.    /thorn/ydieresis] def
  139. /SymbolEncoding [ StandardEncoding 0 32 getinterval aload pop
  140.    /space/exclam/universal/numbersign/existential/percent/ampersand/suchthat
  141.    /parenleft/parenright/asteriskmath/plus/comma/minus/period/slash/zero/one
  142.    /two/three/four/five/six/seven/eight/nine/colon/semicolon/less/equal
  143.    /greater/question/congruent/Alpha/Beta/Chi/Delta/Epsilon/Phi/Gamma/Eta
  144.    /Iota/theta1/Kappa/Lambda/Mu/Nu/Omicron/Pi/Theta/Rho/Sigma/Tau/Upsilon
  145.    /sigma1/Omega/Xi/Psi/Zeta/bracketleft/therefore/bracketright
  146.    /perpendicular/underscore/radicalex/alpha/beta/chi/delta/epsilon/phi/gamma
  147.    /eta/iota/phi1/kappa/lambda/mu/nu/omicron/pi/theta/rho/sigma/tau/upsilon
  148.    /omega1/omega/xi/psi/zeta/braceleft/bar/braceright/similar/.notdef
  149.    33{dup}repeat/Upsilon1/minute/lessequal/fraction/infinity/florin/club
  150.    /diamond/heart/spade/arrowboth/arrowleft/arrowup/arrowright/arrowdown
  151.    /degree/plusminus/second/greaterequal/multiply/proportional/partialdiff
  152.    /bullet/divide/notequal/equivalence/approxequal/ellipsis/arrowvertex
  153.    /arrowhorizex/carriagereturn/aleph/Ifraktur/Rfraktur/weierstrass
  154.    /circlemultiply/circleplus/emptyset/intersection/union/propersuperset
  155.    /reflexsuperset/notsubset/propersubset/reflexsubset/element/notelement
  156.    /angle/gradient/registerserif/copyrightserif/trademarkserif/product
  157.    /radical/dotmath/logicalnot/logicaland/logicalor/arrowdblboth
  158.    /arrowdblleft/arrowdblup/arrowdblright/arrowdbldown/lozenge/angleleft
  159.